Ext.ux.ImageButton = Ext.extend(Ext.BoxComponent, {
	overCls: 'ux-image-button-over'
    ,onRender : function(ct, position){
        this.autoEl = {
            tag: 'button',
//            cn: this.text || '&nbsp;',
            cls: 'ux-image-button'
        };
        if(this.icon){
            this.autoEl.style = 'background-image: url(' + this.icon + ')';
        }
        Ext.ux.ImageButton.superclass.onRender.call(this, ct, position);
        this.el.on('click', this.handler, this, {stopEvent: true});
    },
    handler: Ext.emptyFn
});